package com.google.code.gestion_de_conferences;

import java.util.Date;

public class Reservation {

	 //private variables
    
    private int _id ;
    private int userId;
    private int roomId;
    private Date date;
    private String to ;    
    private String from ;
   
    /**
      * Constructor that will be used when initiating a room
      * @author <hyame.alameddine@gmail.com>
      *
      * @return
     */
    public Reservation()
    {
         super();
     }
   
    /**
     * Getter function for the id attribute
     *
     * @author <hyame.alameddine@gmail.com>
     * @return
     */
    public int getId()
    {
      
        return this._id ;
    }
 
    /**
     * Setter function for the id attribute
     *
     * @author <hyame.alameddine@gmail.com>
     * @param id
     */
    public void setId(int id)
    {
      
        this._id = id;
    }
 
    /**
     * Getter function for the userId attribute
     *
     * @author <hyame.alameddine@gmail.com>
     */
    public int getUserId()
    {
      
        return this.userId;
    }
 
    /**
     * Setter function for the userId attribute
     *
     * @author <hyame.alameddine@gmail.com>
     *
     * @param userId
     */
    public void setUserId(int userId)
    {
      
        this.userId = userId;
    }
 
    /**
     * Getter function for the roomId attribute
     *
     * @author <hyame.alameddine@gmail.com>
     *
     * @return
     */
    public int getRoomId()
    {
      
        return this.roomId;
    }
 
    /**
     * Setter function for the roomId attribute
     *
     * @author <hyame.alameddine@gmail.com>
     *
     * @param address
     */
    public void setRoomId(int roomId)
    {
      
        this.roomId = roomId;
    }
   

	/**
	 * @return the to
	 */
	public String getTo() {
		return to;
	}

	/**
	 * @param to the to to set
	 */
	public void setTo(String to) {
		this.to = to;
	}

	/**
	 * @return the from
	 */
	public String getFrom() {
		return from;
	}

	/**
	 * @param from the from to set
	 */
	public void setFrom(String from) {
		this.from = from;
	}

	/**
	 * @return the date
	 */
	public Date getDate() {
		return date;
	}

	/**
	 * @param date the date to set
	 */
	public void setDate(Date date) {
		this.date = date;
	}
}
